import { defineStore } from 'pinia';

interface State {
	count: number | null;
}
export const useHomeStore = defineStore('homeStore', {
	state: (): State => ({
		count: null //负荷情况
	}),
	actions: {
		setLCount(data: any) {
			this.count = data;
		}
	},
	persist: true
});
